
import java.util.Vector;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


class ProductList {

    Vector products = new Vector();


    public ProductList() {
    }


    public Vector getProducts() {
        return products;
    }


    public void setProducts(Vector products) {
        this.products = products;
    }


    public String toString() {
        StringBuffer buf = new StringBuffer();
        Vector vector = getProducts();

        for(int i = 0; i < vector.size(); i++)
        {
            buf.append(vector.get(i));
            buf.append('\n');
        }

        return buf.toString();
    }
}
